package com.itxx.junitDemo;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class JunitTest {
    @Test
   public void testAdd(){
       System.out.println("加了Test注解的"+"2+1="+(2+1));
   }
   @After
   public void testLess(){
       System.out.println("加了After注解的"+"2-1="+(2-1));
   }
   @Before
   public void testExcept(){
       System.out.println("加了Before注解的"+"2/1="+(2/1));
   }
   @Test
   public void testMultiply(){
       System.out.println("加了Test注解的"+"2*1="+(2*1));
   }

}
